local unitDefs = {

ARMMH = {
  name                = "Wombat",
  description         = "Hovercraft Rocket Launcher",
  
  objectName          = "armmh", 
  script              = "armmh.cob",
  buildPic            = "armmh.png",
  iconType            = "vehicle",  
  category            = [[LAND TANK WEAPON]],
  TEDClass            = "TANK", 
  movementClass       = "TANK3a",
  
  -- Cost
  buildCostMetal      = 100,  
  buildCostEnergy     = 0,
  buildTime           = 1000,
  

  -- Damage
  maxDamage           = 477,
  idleAutoHeal        = 5,
  idleTime            = 900,

  -- Flanking Bonus
  flankingBonusMode   = 3,
  flankingBonusDir    = [[0 0 1]],
  flankingBonusMin    = 0.5,
  flankingBonusMax    = 1.5,	  
  
  -- Movement and Pathfinding
  footprintX          = 3,
  footprintZ          = 3,  
  maxVelocity         = 2.42,
  acceleration        = 0.072,
  brakeRate           = 0.112,
  turnRate            = 470,
  turnInPlace         = true,  
  maxSlope            = 30,
  maxWaterDepth       = 15,

  -- Tracks
  leaveTracks         = true,  
  trackOffset         = 3,
  trackStrength       = 6,
  trackStretch        = 1,
  trackType           = "StdTank",
  trackWidth          = 24,

  -- Abilities
  canMove             = true,  
  canAttack           = true,
  canGuard            = true,
  canPatrol           = true,

  -- Detection  
  sightDistance       = 509,
  seismicSignature    = 0,  

  --canHover=1;
  --smoothAnim=1;
  
  -- Weapons
  explodeAs           = "UNIT_EXPLOSION_SMALL1",  
  selfDestructAs      = "UNIT_SELFD_SMALL1", 
  noChaseCategory     = [[SUB PLANE HELICOPTER]],  

  weapons = {
    [1] = {
      def                = "ARMMH_WEAPON2",
      badTargetCategory  = [[HELICOPTER]],
      onlyTargetCategory = [[BUILDING TANK SHIP HELICOPTER]],
    },
  },

  customParams = {
    soundCategory = "VEHICLE1",
  },
  
  weaponDefs          = {

    ARMMH_WEAPON2 = {
      name                    = "RocketArtillery",
      areaOfEffect            = 64,
      --cegTag                  = [[raventrail]],
      craterBoost             = 0,
      craterMult              = 0,

      damage                  = {
        default = 300,
      },

      --explosionGenerator      = [[custom:FLASH3]], --[[custom:STARFIRE]],
      fireStarter             = 100,
      flighttime              = 10,
      impulseBoost            = 0.123,
      impulseFactor           = 0.123,
      --model                   = [[wep_m_kickback.s3o]],
      model                   = "armstump_dead.3do",
      noSelfDamage            = true,
      range                   = 710,
      reloadtime              = 6,
      smokeTrail              = true,
      --soundHit                = [[weapon/missile/vlaunch_hit]],
      --soundStart              = [[weapon/missile/missile_launch]],
      tolerance               = 4000,
      turnRate                = 24384,
      twoPhase                = true,
      weaponAcceleration      = 102.4,
      weaponTimer             = 3,
      weaponType              = "StarburstLauncher",
      weaponVelocity          = 600,
    },
  }, 
},
}

return lowerkeys(unitDefs)